package com.hyfrogx.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hyfrogx.common.base.BaseEntity;
import lombok.Data;

/**
 * <p>
 * 字典详情
 * </p>
 *
 * @author wanglei
 * @date 2019-07-15 15:51:11
 */
@Data
@TableName("sys_dict_detail")
public class SysDictDetailEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 字典Id
	 */
	private Long dictId;

	/**
	 * 详情名称
	 */
	private String name;

	/**
	 * 详情编码
	 */
	private String code;

	/**
	 * 排序
	 */
	private Integer orderNum;

	/**
	 * Tree结构的父Id
	 */
	private Long pid;

	/**
	 * 级别
	 */
	private String level;
}
